/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME: 	Bright Side of Life
   TEMPLATE CODE: 	S-0005
   VERSION:          1.0          	
 *******************************************/ 
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* top elements */
* { padding: 0; margin: 0; }

body {
	margin-top:0;
	padding: 0;
	font: .70em/1.5em  Verdana, Tahoma, Helvetica, sans-serif;
	color: #666666; 
	background: #A9BAC3   url(Images/bg.gif) repeat-x;
	text-align: center;
}

/* links */
a { 
	color: #4284B0;
	background-color: inherit;
	text-decoration: none;
}
a:hover {
	color: #9EC068;
	background-color: inherit;
}

/* headers */
h1, h2, h3 {
	font: bold 1em 'Times New Roman', Arial, Sans-serif;
	color: #333;	
}
h1 { font-size: 1.5em; color: #6297BC; } 
h2 { font-size: 1.4em; text-transform:uppercase;}
h3 { font-size: 1.3em;color: #6297BC; margin-left:15px; }

p, h1, h2, h3 {
	margin: 10px 15px;
}
ul, ol {
	margin: 10px 30px;
	padding: 0 15px;
	color: #4284B0;
}
ul span, ol span {
	color: #666666; 
}

/* images */

img.no-border {
	border: none;
}
img.float-right {
  margin: 5px 0px 5px 15px;  
}
img.float-left {
  margin: 5px 15px 5px 0px;
}

img {
    vertical-align: middle;
}
#scale-up {
    height: 230px;
}
#scale-down {
    height: 75px;
}

code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
  border-left: 4px solid #4284B0; 
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 15px;
 	padding: 0 0 0 20px;  	
  	background: #FAFAFA;
	border: 1px solid #f2f2f2; 
	border-left: 4px solid #4284B0;   
	color: #4284B0;
	font: bold 1.2em/1.5em Georgia, 'Bookman Old Style', Serif; 
}

/* form elements */
form {
	 padding: 0;	
	
}
.searchbox 
{
    
    float:right;
    margin-top:10px;
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding: 2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:300px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	margin: 0; 
	font: bold 1em Arial, Sans-serif; 
	border: 1px solid #CCC;
	background: #FFF; 
	padding: 2px 3px; 
	color: #4284B0;	
}

/* search form */

.searchform {
	background: transparent;
	border: none;
	margin-top: 10px;
	 padding: 0;
	float:right;
	clear:both;
}
.searchform input.textbox { 
	margin: 0; 
	width: 120px;
	border: 1px solid #9EC630; 
	background: #FFF;
	color: #333; 
	height: 14px;
	vertical-align: top;
}
.searchform input.button { 
	margin: 0; 
	padding: 2px 3px; 
	font: bold 12px Arial, Sans-serif; 
	background: #FAFAFA;
	border: 1px solid #f2f2f2;
	color: #777;	
	width: 60px;
	vertical-align: top;
}

/***********************
	  LAYOUT
************************/
#wrap {
	background: #FFF;
	width: 960px; 
	margin: 0 auto;	
	text-align: left;
	z-index:10;
	position:relative;
}
#content-wrap {
	clear: both;
	margin: 0; padding: 0;	
	background: #FFF ;
	position:relative;
}

/* header */
#header {
	position: relative;
	/*height: 85px;	*/
	height: 40px;
	background: #000 url(Images/headerbg.gif) repeat-x 0% 100%;	
}
#header h1#logo {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 4.1em 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	text-transform: lowercase;
	top: 0; left: 5px;	
}
#header h2#slogan {
	position: absolute;	 
	top:37px; left: 95px;
	color: #666666;
	text-indent: 0px;
	font: bold 11px Tahoma, 'trebuchet MS', Sans-serif; 
	text-transform: none;	
}
#header form.searchform {
	position: absolute;
	top: 0; right: -12px;	
}

/* main */
#main {
	float: left;
	margin-left: 15px;
	padding: 0;
	width: 53%;
	padding-bottom:5px;
}

.post-footer {
	background-color: #FAFAFA;
	padding: 5px; margin: 20px 15px 0 15px;
	border: 1px solid #f2f2f2;
	font-size: 95%;	
}
.post-footer .date {
	background: url(Images/clock.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .comments {
	background: url(Images/comment.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}
.post-footer .readmore {
	background: url(Images/page.gif) no-repeat left center;
	padding-left: 20px; margin: 0 10px 0 5px;
}

/* sidebar */
#sidebar
{
	float: left;
	width: 20%;
	margin: 0;	padding: 0; 
	display: inline;		
}
#sidebar ul.sidemenu {
	list-style:none;
	margin:10px 0 10px 15px;
	padding:0;		
	clear:both;
}
#sidebar ul.sidemenu li {
	margin-bottom:1px;
	
}
#sidebar ul.sidemenu a {
	display:block;
	font-weight:bold;
	color: #333;	
	text-decoration:none;	
	padding:2px 5px 2px 10px;
	background:url("images/icon_bullet.gif") no-repeat 0px 6px;
	min-height:18px;
}
#sidebar ul.sidemenu div.video-icon
{
    height:20px;
    background:url("images/video-icon.png") no-repeat top left;
    width:178px;
}
#sidebar ul.sidemenu div.video-icon a
{
    margin-left:22px;
    background:none;
    padding-left:0;
}
* html body #sidebar ul.sidemenu a { height: 18px; }

#sidebar ul.sidemenu a:hover {
	padding:2px 5px 2px 10px;
	
	color: #339900;
	
}

/* rightbar */
#rightbar {
	float: right;
	width: 23%;
	padding: 0; margin:0;	
}
#rightbar h1,h2,h3
{
margin-left:0;
}
div.moduletable ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

div.moduletable li
{
    background: url(images/bullet.gif) no-repeat 5px 8px;
    margin: 0;
    padding-left: 16px;
    line-height: 160%;
}
div.moduletable li a 
{
    color:#666;
}
div.mostread
{
clear:both;
float:left;
margin-bottom:10px;    
}

div.mostread a img
{
    
}
div.mostread img a
{
    
}
div.mostread img
{
    margin-top:4px;
    margin-right:5px;    
}
div.smallimg 
{
    float: left; 
    width: 50px; 
    overflow: hidden;    

}
div.mostread div.des
{
    float: left;  
    margin-left: 10px;
    width: 128px; 
    overflow: hidden; 
}

/* Footer */
#footer { 
	clear: both; 
	color: #FFF; 
	background: #A9BAC3; 
	border-top: 5px solid #568EB6;
	margin: 0; padding: 0; 
	height: 50px;	  
	font-size: 95%;		
}
#footer a { 
	text-decoration: none; 
	font-weight: bold;	
	color: #FFF;
}
#footer .footer-left{
	float: left;
	width: 65%;
}
#footer .footer-right{
	float: right;
	width: 30%;
}

/* menu tabs */
#header ul {
	
	position: absolute;
   margin:0; padding: 0;
   list-style:none;
	right: 0; 
	bottom: 6px !important; bottom: 5px;
	font: bold 13px  Arial, 'Trebuchet MS', Tahoma, verdana,  sans-serif;	
}
#header li {
   display:inline;
   margin:0; padding:0;
}
#header a {
   float:left;
   background: url(Images/tableft.gif) no-repeat left top;
   padding:0 0 0 4px;
   text-decoration:none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
}
#header a span {
   float:left;
   display:block;
   background: url(Images/tabright.gif) no-repeat right top;
   padding:6px 15px 3px 8px;
   color: #FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#header a span {float:none;}
/* End IE5-Mac hack */
#header a:hover span {
	color:#FFF;
}
#header a:hover {
   background-position:0% -42px;
}
#header a:hover span {
   background-position:100% -42px;
}
#header #current a {
   background-position:0% -42px;
	color: #FFF;
}
#header #current a span {
   background-position:100% -42px;
	color: #FFF;
}
/* end menu tabs */

/* alignment classes */
.float-left  { float: left; }
.float-right {	float: right; }
.align-left  {	text-align: left; }
.align-right {	text-align: right; }

/* additional classes */
.clear { clear: both; }
.green {	color: #9EC630; }
.gray  {	color: #BFBFBF; }


div.listing {
    width: 100%;
    float: left;
    margin-right: 2px;
    padding-bottom: 5px;
}
div.listing div.content {
    float: left;
    width: 100%;
    margin-top: 0px;
    margin-top: 3px;        
}
div.listing div.content left 
{
    clear:both;
    float:left;
    width:100px;
}
div.listing div.content div.left div.imgholder {
    float: left;
    position: relative;
    width: 100px;
    height: 100px;
    margin-top: 0px;
}
div.listing div.content div.left img {
    width: 80px;
    height: 80px;
    padding: 3px;
    float: left;    
    background: white;
    border: 1px solid #DEDBD1;
    -webkit-box-shadow: #dfdfdf 0px 0px 7px;
    -moz-box-shadow: 0px 2px 7px #dfdfdf;
}
div.right
{
    float:left;
    width:310px;    
}
div.right h3,p
{
    margin:0;    
}
div.rawimages 
{
    float:right;
    text-align: center;
    margin-top: 3px;
    position:absolute;
    top:2px;
    right:5px;
}
.rawimages img
{
    height: 25px;
    margin-left: 3px;
    width: 30px;
}
/* post */
.post h2
{
    margin-left:0;
}
.post a {text-decoration: none;}
.post p 
{
    margin-bottom:1em;
}
.post a:hover {text-decoration: underline;}

.post img.left, .post img.right {margin-bottom: 0;}

.post-date {
	color: #777;
	margin: 2px 0 10px;
}
.post-date a {color: #444;}

.post-title h1, .post-title h2, .post-title h3 {margin-bottom: 0;}

.post-meta {
	background: #F6F6F6;
	border: 1px solid #DDD;
	color: #777;
	padding: 6px 10px;
}
.post-meta a {color: #345; }
.post-meta a:hover {color: #001;}

.post-body {font-size: 1.1em;}
.post-body a {color: #039;}
.post-body a:hover {color: #039;}

.post-body img.left, .post-body img.right {margin-bottom: 1em;}

.content-separator {
	background: #D5D5D5;
	clear: both;
	color: #FFE;
	display: block;
	font-size: 0;
	line-height: 0;
	height: 1px;	
}
.content-separator {margin: 20px 0;}

.col3 {width: 200px;
       float:left;
margin-right:5px;       
}
.col3 img
{
    width:100%;    
}
img.bordered{
background-color: white;
border: 1px solid #DDD;
padding: 3px;
}
a img
{
    border:1px;
}
div.rawimages a
{
   color:White; 
   background:none !important;
}
.rawimages a
{
    background:none !important;
}
/*
    Navigator
*/
.xuphat
{
    color:Red;
}
ul#minitabs{list-style: none;margin: 0;padding: 7px 0;
  border-bottom: 1px solid #CCC;font-weight: bold;
  text-align: left;white-space: nowrap}
ul#minitabs li{display: inline;margin: 0 3px}
ul#minitabs a{text-decoration: none;padding: 0 0 3px;
  border-bottom: 4px solid #FFF;color: #999}
ul#minitabs a#current{border-color: #F60;color:#06F}
ul#minitabs a:hover{border-color: #F60;color: #666}
